feat(lint): refactor LinterConfig and add 3 new linting rules#12581
feat(lint): refactor LinterConfig and add 3 new linting rules#12581milosdjurica wants to merge 29 commits intofoundry-rs:masterfrom
Conversation
|
@milosdjurica first of all thanks for the PR and the initiative, we love new contributions to forge's linter! i think the idea overall makes sense, however imo we can improve it.
lmk if this seems reasonable and if u have any doubts regarding impl |
Sounds great, I like it! Will look to implement it ASAP :) |
…i_contract_file_exceptions
Feat/linting interface naming
grandizzy
left a comment
There was a problem hiding this comment.
thank you! pls fix the build_with_invalid_natspec test to get it going (ideally leave it as before to make sure we're catching that scenario)
|
Hi guys, @0xrusowsky @grandizzy - just a quick ping in case you missed the latest changes 👀 |
0xrusowsky
left a comment
There was a problem hiding this comment.
@grandizzy good to merge?
Yep, let's send it 👍 |
onbjerg
left a comment
There was a problem hiding this comment.
please update the snapshots (sorry about the slow turnaround)
Head branch was pushed to by a user without write access
|
lmk if need anything else |
.solfile .LinterConfigMotivation
Enforce best practice.
Solution
I have some doubts regarding this, would like to hear your opinion.
My solution count interfaces and libraries too, and it shows linting note only once per file. Let me know if you want something to be changed :)
PR Checklist
Keep up the good work guys, cheers!